package com.code.google.geogallery;

/**
 * Transfer data object for Image to be transferred to a velocity template
 * 
 */
public class ImageDTO {
    
    String longitude;
    String latitude;
    String fileName;
    int width;
    int height;
    boolean hasGPS;
    
    public ImageDTO(String name) {
        this.fileName = name;
        this.hasGPS = false;
    }

    /**
     * @return the longitude
     */
    public String getLongitude() {
        return this.longitude;
    }

    /**
     * @return the latitude
     */
    public String getLatitude() {
        return this.latitude;
    }

    /**
     * @return the fileName
     */
    public String getFileName() {
        return this.fileName;
    }

    /**
     * @return the width
     */
    public int getWidth() {
        return this.width;
    }

    /**
     * @return the height
     */
    public int getHeight() {
        return this.height;
    }

    /**
     * @param longitude the longitude to set
     */
    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    /**
     * @param latitude the latitude to set
     */
    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    /**
     * @param fileName the fileName to set
     */
    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    /**
     * @param width the width to set
     */
    public void setWidth(int width) {
        this.width = width;
    }

    /**
     * @param height the height to set
     */
    public void setHeight(int height) {
        this.height = height;
    }

    /**
     * @return the hasGPS
     */
    public boolean isHasGPS() {
        return this.hasGPS;
    }

    /**
     * @param hasGPS the hasGPS to set
     */
    public void setHasGPS(boolean hasGPS) {
        this.hasGPS = hasGPS;
    }
}
